\hypertarget{classmdp__nmatrix__field}{
\section{mdp\_\-nmatrix\_\-field Class Reference}
\label{classmdp__nmatrix__field}\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}}
}


field of vectors of matrices  


{\ttfamily \#include $<$mdp\_\-nmatrix\_\-field.h$>$}Inheritance diagram for mdp\_\-nmatrix\_\-field::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classmdp__nmatrix__field}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classmdp__nmatrix__field_a2431fcb07b72317d2bf87e46ddad80b1}{mdp\_\-nmatrix\_\-field} ()
\item 
\hyperlink{classmdp__nmatrix__field_a8a3db6bfa6ffc2a5679c24f3e297e0c4}{mdp\_\-nmatrix\_\-field} (\hyperlink{classmdp__nmatrix__field}{mdp\_\-nmatrix\_\-field} \&field)
\item 
\hyperlink{classmdp__nmatrix__field_a10d00272d103d471a1cd9e5921d39419}{mdp\_\-nmatrix\_\-field} (\hyperlink{classmdp__lattice}{mdp\_\-lattice} \&a, int n, int i, int j)
\begin{DoxyCompactList}\small\item\em declares a field object that at each site as vector of n ixj matrices \item\end{DoxyCompactList}\item 
void \hyperlink{classmdp__nmatrix__field_ad8803e7b0f9a755329a1d7335ac0c019}{allocate\_\-mdp\_\-nmatrix\_\-field} (\hyperlink{classmdp__lattice}{mdp\_\-lattice} \&a, int n, int i, int j)
\begin{DoxyCompactList}\small\item\em dynamically allocates a field object that at each site as vector of n ixj matrices \item\end{DoxyCompactList}\item 
\hyperlink{classmdp__matrix}{mdp\_\-matrix} \hyperlink{classmdp__nmatrix__field_a389126da9ddf86d42b27d4d9d20245f8}{operator()} (\hyperlink{classmdp__site}{mdp\_\-site} x, int n)
\begin{DoxyCompactList}\small\item\em returns the n-\/th matrix stored at site x \item\end{DoxyCompactList}\item 
\hyperlink{classmdp__complex}{mdp\_\-complex} \& \hyperlink{classmdp__nmatrix__field_ab166e6abe76fcafd63dec9739da8324c}{operator()} (\hyperlink{classmdp__site}{mdp\_\-site} x, int n, int i, int j)
\begin{DoxyCompactList}\small\item\em returns the (i,j) component of the n-\/th matrix stored at site x \item\end{DoxyCompactList}\item 
const \hyperlink{classmdp__complex}{mdp\_\-complex} \& \hyperlink{classmdp__nmatrix__field_a4898cffa6a8e35bece4ed99a49499f3f}{operator()} (\hyperlink{classmdp__site}{mdp\_\-site} x, int n, int i, int j) const 
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{mdp__global__vars_8h_a91ad9478d81a7aaf2593e8d9c3d06a14}{uint} \hyperlink{classmdp__nmatrix__field_a6166f4d394efa361e3fa9552506c7c36}{rows}
\item 
\hyperlink{mdp__global__vars_8h_a91ad9478d81a7aaf2593e8d9c3d06a14}{uint} \hyperlink{classmdp__nmatrix__field_aaa3de1fa235579a53d5b4a3bc1ef504e}{columns}
\item 
\hyperlink{mdp__global__vars_8h_a91ad9478d81a7aaf2593e8d9c3d06a14}{uint} \hyperlink{classmdp__nmatrix__field_a7ace5d4385ddb2f67a8f1c5e65fbf22e}{matrices}
\item 
\hyperlink{mdp__global__vars_8h_a91ad9478d81a7aaf2593e8d9c3d06a14}{uint} \hyperlink{classmdp__nmatrix__field_a3f49b21188df1a14427384d3501b8926}{imax}
\item 
\hyperlink{mdp__global__vars_8h_a91ad9478d81a7aaf2593e8d9c3d06a14}{uint} \hyperlink{classmdp__nmatrix__field_acc8ab22ea97de1a94f6e3abe818cbafa}{imax2}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
field of vectors of matrices Example: \begin{DoxyVerb}
///    int box[]={10,10,10};
///    mdp_lattice lattice(3,box);
///    mdp_nmatrix_field h(lattice,10,3,3);
///    mdp_site x(lattice);
///    forallsites(x)
///      for(int i=0; i<10; i++)
///        h(x,i)=lattice.random(x).SU(3);
/// \end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classmdp__nmatrix__field_a2431fcb07b72317d2bf87e46ddad80b1}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}}
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{mdp\_\-nmatrix\_\-field}]{\setlength{\rightskip}{0pt plus 5cm}mdp\_\-nmatrix\_\-field::mdp\_\-nmatrix\_\-field ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_a2431fcb07b72317d2bf87e46ddad80b1}
\hypertarget{classmdp__nmatrix__field_a8a3db6bfa6ffc2a5679c24f3e297e0c4}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}}
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{mdp\_\-nmatrix\_\-field}]{\setlength{\rightskip}{0pt plus 5cm}mdp\_\-nmatrix\_\-field::mdp\_\-nmatrix\_\-field ({\bf mdp\_\-nmatrix\_\-field} \& {\em field})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_a8a3db6bfa6ffc2a5679c24f3e297e0c4}
\hypertarget{classmdp__nmatrix__field_a10d00272d103d471a1cd9e5921d39419}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}}
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{mdp\_\-nmatrix\_\-field}]{\setlength{\rightskip}{0pt plus 5cm}mdp\_\-nmatrix\_\-field::mdp\_\-nmatrix\_\-field ({\bf mdp\_\-lattice} \& {\em a}, \/  int {\em n}, \/  int {\em i}, \/  int {\em j})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_a10d00272d103d471a1cd9e5921d39419}


declares a field object that at each site as vector of n ixj matrices 

\subsection{Member Function Documentation}
\hypertarget{classmdp__nmatrix__field_ad8803e7b0f9a755329a1d7335ac0c019}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!allocate\_\-mdp\_\-nmatrix\_\-field@{allocate\_\-mdp\_\-nmatrix\_\-field}}
\index{allocate\_\-mdp\_\-nmatrix\_\-field@{allocate\_\-mdp\_\-nmatrix\_\-field}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{allocate\_\-mdp\_\-nmatrix\_\-field}]{\setlength{\rightskip}{0pt plus 5cm}void mdp\_\-nmatrix\_\-field::allocate\_\-mdp\_\-nmatrix\_\-field ({\bf mdp\_\-lattice} \& {\em a}, \/  int {\em n}, \/  int {\em i}, \/  int {\em j})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_ad8803e7b0f9a755329a1d7335ac0c019}


dynamically allocates a field object that at each site as vector of n ixj matrices \hypertarget{classmdp__nmatrix__field_a4898cffa6a8e35bece4ed99a49499f3f}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!operator()@{operator()}}
\index{operator()@{operator()}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf mdp\_\-complex}\& mdp\_\-nmatrix\_\-field::operator() ({\bf mdp\_\-site} {\em x}, \/  int {\em n}, \/  int {\em i}, \/  int {\em j}) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_a4898cffa6a8e35bece4ed99a49499f3f}
\hypertarget{classmdp__nmatrix__field_ab166e6abe76fcafd63dec9739da8324c}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!operator()@{operator()}}
\index{operator()@{operator()}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mdp\_\-complex}\& mdp\_\-nmatrix\_\-field::operator() ({\bf mdp\_\-site} {\em x}, \/  int {\em n}, \/  int {\em i}, \/  int {\em j})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_ab166e6abe76fcafd63dec9739da8324c}


returns the (i,j) component of the n-\/th matrix stored at site x \hypertarget{classmdp__nmatrix__field_a389126da9ddf86d42b27d4d9d20245f8}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!operator()@{operator()}}
\index{operator()@{operator()}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mdp\_\-matrix} mdp\_\-nmatrix\_\-field::operator() ({\bf mdp\_\-site} {\em x}, \/  int {\em n})\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classmdp__nmatrix__field_a389126da9ddf86d42b27d4d9d20245f8}


returns the n-\/th matrix stored at site x 

Reimplemented from \hyperlink{classmdp__field_a9eec94ee723253a196ccc4677832b4a0}{mdp\_\-field$<$ mdp\_\-complex $>$}.

\subsection{Member Data Documentation}
\hypertarget{classmdp__nmatrix__field_aaa3de1fa235579a53d5b4a3bc1ef504e}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!columns@{columns}}
\index{columns@{columns}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{columns}]{\setlength{\rightskip}{0pt plus 5cm}{\bf uint} {\bf mdp\_\-nmatrix\_\-field::columns}}}
\label{classmdp__nmatrix__field_aaa3de1fa235579a53d5b4a3bc1ef504e}
\hypertarget{classmdp__nmatrix__field_a3f49b21188df1a14427384d3501b8926}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!imax@{imax}}
\index{imax@{imax}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{imax}]{\setlength{\rightskip}{0pt plus 5cm}{\bf uint} {\bf mdp\_\-nmatrix\_\-field::imax}}}
\label{classmdp__nmatrix__field_a3f49b21188df1a14427384d3501b8926}
\hypertarget{classmdp__nmatrix__field_acc8ab22ea97de1a94f6e3abe818cbafa}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!imax2@{imax2}}
\index{imax2@{imax2}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{imax2}]{\setlength{\rightskip}{0pt plus 5cm}{\bf uint} {\bf mdp\_\-nmatrix\_\-field::imax2}}}
\label{classmdp__nmatrix__field_acc8ab22ea97de1a94f6e3abe818cbafa}
\hypertarget{classmdp__nmatrix__field_a7ace5d4385ddb2f67a8f1c5e65fbf22e}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!matrices@{matrices}}
\index{matrices@{matrices}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{matrices}]{\setlength{\rightskip}{0pt plus 5cm}{\bf uint} {\bf mdp\_\-nmatrix\_\-field::matrices}}}
\label{classmdp__nmatrix__field_a7ace5d4385ddb2f67a8f1c5e65fbf22e}
\hypertarget{classmdp__nmatrix__field_a6166f4d394efa361e3fa9552506c7c36}{
\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}!rows@{rows}}
\index{rows@{rows}!mdp_nmatrix_field@{mdp\_\-nmatrix\_\-field}}
\subsubsection[{rows}]{\setlength{\rightskip}{0pt plus 5cm}{\bf uint} {\bf mdp\_\-nmatrix\_\-field::rows}}}
\label{classmdp__nmatrix__field_a6166f4d394efa361e3fa9552506c7c36}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/Users/mdipierro/fermiqcd/development/Libraries/\hyperlink{mdp__nmatrix__field_8h}{mdp\_\-nmatrix\_\-field.h}\end{DoxyCompactItemize}
